<%--
  Created by IntelliJ IDEA.
  User: zoud
  Date: 28/09/2016
  Time: 20:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="ui segment basic">
    <h1 class="ui header">New database</h1>
    <div class="sub header text red">Notes: Please write below information carefully, this is very important!
    </div>
    <div class="ui massive steps vertical rail">
        <div class="step">
            <i class="info icon"></i>
            <div class="content">
                <div class="title">Basic information</div>
            </div>
        </div>
        <div class="step">
            <i class="tasks icon"></i>
            <div class="content">
                <div class="title red">Data information</div>
            </div>
        </div>
        <div class="step active">
            <i class="mail icon"></i>
            <div class="content">
                <div class="title">Contact information</div>
            </div>
        </div>
        <div class="step">
            <i class="book icon"></i>
            <div class="content">
                <div class="title">Publication information</div>
            </div>
        </div>
    </div>
    <br/>
    <div class="ui grid horizontal segments">
        <div class="ui thirteen wide column segment">
            <form class="ui form" method="post" action="${host}/user/db/save">
                <div class="three fields">
                    <div class="field">
                        <label class="text red">Country *</label>
                        <div class="ui input">
                            <input type="text" name="country" placeholder="Country"/>
                        </div>
                    </div>
                    <div class="field">
                        <label class="text red">City *</label>
                        <input type="text" placeholder="City" name="city"/>
                    </div>
                    <div class="field">
                        <label class="text">Province/State</label>
                        <input type="text" placeholder="Province/State" name="province"/>
                    </div>
                </div>
                <div class="field">
                    <label class="text red">University/Institution hosted *</label>
                    <input type="text" placeholder="University/Institution hosted" name="hostInstitution"/>
                </div>
                <div class="two fields">
                    <div class="field">
                        <label class="text red">Contact email *</label>
                        <div class="ui input">
                            <input type="email" name="email" placeholder="Email"/>
                        </div>
                    </div>
                    <div class="field">
                        <label class="text red">Contact name *</label>
                        <div class="ui input">
                            <input name="contactName" placeholder="Contact name"/>
                        </div>
                    </div>
                </div>
                <div class="field">
                    <label class="text red">Address *</label>
                    <div class="ui input">
                        <textarea name="contactAddress" placeholder="Contact address" rows="3"></textarea>
                    </div>
                </div>
                <div class="field">
                    <input type="hidden" value="${session.currentUser.id}" name="id"/>
                    <button type="submit" class="ui button green">Submit<i class="arrow circle outline right icon"></i>&nbsp;&nbsp;&nbsp;Next
                        step
                    </button>
                </div>
            </form>
        </div>
        <div class="ui segment three wide column">
            <h3 class="ui header">Help</h3>
            <p class="text justified"></p>
        </div>
    </div>
</div>
</body>
</html>
